#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdlib.h>
int main()
{
	int a;
	int c;
	for (int a=100;a <= 200;a++)
	{
		c = a-1;
		while (a % c != 0)
		{
			c--;
		}
		if (c == 1)
		printf("%d ", a);
	}
	return 0;
}